//
//  DocumentViewController.h
//  Alfresco
//
//  Created by Michael Muller on 9/3/09.
//  Copyright 2010 Zia Consulting.  Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php 
//

#import <UIKit/UIKit.h>
#import "MessageUI/MFMailComposeViewController.h"


@interface DocumentViewController : UIViewController <MFMailComposeViewControllerDelegate> {
	NSData *fileData;
	NSString *fileName;
	BOOL isFavorite;
	IBOutlet UIBarButtonItem *favoriteButton;
}
@property (nonatomic, retain) NSData *fileData;
@property (nonatomic, retain) NSString *fileName;
@property (nonatomic, assign) BOOL isFavorite;
@property (nonatomic, retain) UIBarButtonItem *favoriteButton;

- (IBAction)sendMail;
- (IBAction)addToFavorites;

@end
